projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
revision 2
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_volumes.c
diff --git
a/world_volumes.c
b/world_volumes.c
index 7f2b685170e6f1ce784ef60529e4927dd32516a1..ae507d0cffec927296435ae7f3bd0c25677de15e 100644
(file)
--- a/
world_volumes.c
+++ b/
world_volumes.c
@@
-1,9
+1,7
@@
-#ifndef WORLD_VOLUMES_C
-#define WORLD_VOLUMES_C
-
#include "world_volumes.h"
#include "world_volumes.h"
-static void world_volumes_update( world_instance *world, v3f pos ){
+void world_volumes_update( world_instance *world, v3f pos )
+{
/* filter and check the existing ones */
u32 j=0;
for( u32 i=0; i<world_static.active_trigger_volume_count; i++ ){
/* filter and check the existing ones */
u32 j=0;
for( u32 i=0; i<world_static.active_trigger_volume_count; i++ ){
@@
-103,5
+101,3
@@
static void world_volumes_update( world_instance *world, v3f pos ){
next_volume:;
}
}
next_volume:;
}
}
-
-#endif /* WORLD_VOLUMES_H */