summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-09 19:05:13 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-09 19:05:13 +0000
commit66dafad56503a60526fa9e3c5faed51aa152d95d (patch)
tree6c1987ff8459aa8f79081af65b56c9206f7cdf78
parent69209c38968c6f4066a772e0a51a2928749217de (diff)
downloadstarshatter-66dafad56503a60526fa9e3c5faed51aa152d95d.zip
starshatter-66dafad56503a60526fa9e3c5faed51aa152d95d.tar.gz
starshatter-66dafad56503a60526fa9e3c5faed51aa152d95d.tar.bz2
Correcting a small snafu
-rw-r--r--nGenEx/Game.cpp2
-rw-r--r--nGenEx/Solid.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/Game.cpp b/nGenEx/Game.cpp
index a7c6563..3bc45bd 100644
--- a/nGenEx/Game.cpp
+++ b/nGenEx/Game.cpp
@@ -266,7 +266,7 @@ Game::Init(HINSTANCE hi, HINSTANCE hpi, LPSTR cmdline, int nCmdShow)
Panic(" D3D not available under WinNT 4");
status = INIT_FAILED;
} else if (MachineInfo::GetDirectXVersion() < MachineInfo::DX_9) {
- Panic(" Insufficient DirectX detected (Dx9 IS REQUIRED)");
+ Panic(" Insufficient DirectX detected (Dx9 IS REQUIRED)");
status = INIT_FAILED;
}
diff --git a/nGenEx/Solid.cpp b/nGenEx/Solid.cpp
index a0306c7..b7fa6f0 100644
--- a/nGenEx/Solid.cpp
+++ b/nGenEx/Solid.cpp
@@ -2104,7 +2104,7 @@ Surface::OptimizeMesh()
// create target vertex set:
VertexSet* vset = new(__FILE__,__LINE__) VertexSet(used);
- v = 0;
+ int v = 0;
// compress verts:
for (int i = 0; i < nverts; i++) {