OSDN Git Service
(root)
/
deeangband
/
Deeangband-new.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
442c65d
)
Fix constructor of Square class.
author
Deskull
<deskull@users.sourceforge.jp>
Tue, 11 Mar 2014 11:48:58 +0000
(20:48 +0900)
committer
Deskull
<deskull@users.sourceforge.jp>
Tue, 11 Mar 2014 11:48:58 +0000
(20:48 +0900)
Deeangband/Square.cpp
patch
|
blob
|
history
diff --git
a/Deeangband/Square.cpp
b/Deeangband/Square.cpp
index
f0afa20
..
ae11208
100644
(file)
--- a/
Deeangband/Square.cpp
+++ b/
Deeangband/Square.cpp
@@
-11,12
+11,15
@@
Square::Square(Floor *floorPtr)
{
+ Square();
this->floorPtr = floorPtr;
- featureID = 0;
}
Square::Square()
{
+ this->floorPtr = NULL;
+ this->featureID = 0;
+ this->hitPoint = this->maxPoint = 100;
}
Square::~Square()