diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 13:20:07 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 13:20:07 +0100 |
commit | c10788083cc013fb8f93cc5a223aab205e6da15c (patch) | |
tree | e339617ed3fd354749f8591524d92eedd1f861de /actions.c | |
parent | 5c2dcb40e40a789b1bf2a3b19429acd23c7674b1 (diff) |
Fix segmentation fault when the game starts
Since no prototype for Fchangercurseurpersos was given, a nasty
exception was raised when we passed an invalid data to this function.
By providing its prototype, the compiler gives us a clue about the usage
of an invalid pointer type that we can fix.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'actions.c')
0 files changed, 0 insertions, 0 deletions