about summary refs log tree commit diff
path: root/src/game/server/entities/character.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/server/entities/character.cpp')
-rw-r--r--src/game/server/entities/character.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp
index 539e250d..4ef7cc78 100644
--- a/src/game/server/entities/character.cpp
+++ b/src/game/server/entities/character.cpp
@@ -833,9 +833,9 @@ bool CHARACTER::take_damage(vec2 force, int dmg, int from, int weapon)
 	return true;
 }
 
-void CHARACTER::snap(int snaping_client)
+void CHARACTER::snap(int snapping_client)
 {
-	if(networkclipped(snaping_client))
+	if(networkclipped(snapping_client))
 		return;
 	
 	NETOBJ_CHARACTER *character = (NETOBJ_CHARACTER *)snap_new_item(NETOBJTYPE_CHARACTER, player->client_id, sizeof(NETOBJ_CHARACTER));
@@ -862,7 +862,7 @@ void CHARACTER::snap(int snaping_client)
 
 	character->direction = input.direction;
 
-	if(player->client_id == snaping_client)
+	if(player->client_id == snapping_client)
 	{
 		character->health = health;
 		character->armor = armor;