summaryrefslogtreecommitdiff
path: root/ai
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-11-26 12:57:42 +0000
committerDarkvater <darkvater@openttd.org>2005-11-26 12:57:42 +0000
commit728aba9d7cf41f1aaba655b89da1fa687ecded10 (patch)
tree70ff31422b33d818ffb0291281d2327d83291d64 /ai
parenta090886073dc6167aad68700bed4681d775ca5f3 (diff)
downloadopenttd-728aba9d7cf41f1aaba655b89da1fa687ecded10.tar.xz
(svn r3236) - Fix: warnings about 'CDECL must be used with ...' on VS6
Diffstat (limited to 'ai')
-rw-r--r--ai/ai_event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ai/ai_event.h b/ai/ai_event.h
index 7f96f71b8..1f49f338b 100644
--- a/ai/ai_event.h
+++ b/ai/ai_event.h
@@ -20,9 +20,9 @@
* Ugly, I know, but it works! */
# ifdef DEF_EVENTS
- void empty_function(PlayerID player, int event, ...) {}
+ void CDECL empty_function(PlayerID player, int event, ...) {}
# else
- extern void empty_function(PlayerID player, int event, ...);
+ extern void CDECL empty_function(PlayerID player, int event, ...);
# endif
# define ai_event empty_function