freebsd-ports/games/ufoai/files/patch-src__game__g_ai.cpp
Guido Falsi 2b8e9cf099 - Update games/ufoai and games/ufoai-data to 2.5
- Stagify games/ufoai
- Modernize port
- Fix UFORADIANT option (off by default)
- Assign maintainership to submitter [1]

PR:		192419
Submitted by:	m.tsatsenko at gmail.com
Approved by:	portmgr [1]
2014-08-25 10:16:42 +00:00

11 lines
378 B
C++

--- ./src/game/g_ai.cpp.orig 2014-06-05 06:18:39.000000000 +0200
+++ ./src/game/g_ai.cpp 2014-08-07 16:49:53.698302816 +0200
@@ -35,6 +35,8 @@
#include "g_vis.h"
#include "g_reaction.h"
+#include <cstdlib>
+
typedef struct aiAction_s {
pos3_t to; /**< grid pos to walk to for performing the action */
pos3_t stop; /**< grid pos to end turn at (e.g. hiding spots) */