diff options
| author | Michal Zima <xhire@mujmalysvet.cz> | 2009-12-11 19:23:07 +0100 |
|---|---|---|
| committer | Michal Zima <xhire@mujmalysvet.cz> | 2009-12-11 19:23:07 +0100 |
| commit | a0385ddb1e05c96af324ba25073129655eb4334e (patch) | |
| tree | e44a05de06a7cef06e6c61c4591307687e699aed /src/modules/modTeleport.c | |
| parent | 140a27d1579a747f36141d90708fb275aac6a768 (diff) | |
We should follow the HandBook
Diffstat (limited to 'src/modules/modTeleport.c')
| -rw-r--r-- | src/modules/modTeleport.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/modules/modTeleport.c b/src/modules/modTeleport.c index e6c9deb..b7ca273 100644 --- a/src/modules/modTeleport.c +++ b/src/modules/modTeleport.c @@ -336,8 +336,9 @@ static int isConflict(int x, int y, int w, int h) static void cmdArena(char *line) { - if (strncmp(line, "teleport", 8) == 0) + if (strncmp(line, "teleport", 8) == 0) { cmd_teleport(line); + } } static void recvMsg(char *msg) @@ -358,12 +359,12 @@ static int destroy() mod_sym_t modteleport_sym = { &init, #ifndef PUBLIC_SERVER - &draw, + &draw, #else - 0, + 0, #endif &event, &isConflict, &cmdArena, &recvMsg, - &destroy };
\ No newline at end of file + &destroy }; |