From a91fecae920e1b6d9ca3dbdbf6251c11bd751d7c Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Fri, 17 Oct 2008 21:16:23 +0000 Subject: fixed fetching of server info and corrected some spelling errors --- src/game/server/entities/character.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/server/entities/character.cpp') 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; -- cgit 1.4.1