projects
/
csrpg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a598424
)
fixed incorrect casts
author
matthew
<matthew@owens.tech>
Sun, 29 Jul 2018 19:14:09 +0000
(19:14 +0000)
committer
matthew
<matthew@owens.tech>
Sun, 29 Jul 2018 19:14:09 +0000
(19:14 +0000)
common/tile.c
patch
|
blob
|
history
diff --git
a/common/tile.c
b/common/tile.c
index
d1b6005
..
f804c37
100644
(file)
--- a/
common/tile.c
+++ b/
common/tile.c
@@
-22,12
+22,12
@@
void tile_cleanup(Tile *t)
Point3i tile_position(Tile *t)
{
- Tile_t *tt = (Tile *) t;
+ Tile_t *tt = (Tile
_t
*) t;
return tt->position;
}
enum Terrain tile_terrain(Tile *t)
{
- Tile_t *tt = (Tile *) t;
+ Tile_t *tt = (Tile
_t
*) t;
return tt->terrain;
}