mirror of
https://github.com/glest/glest-source.git
synced 2025-08-07 08:56:28 +02:00
Implemented the new g3d spec
This commit is contained in:
@@ -723,7 +723,7 @@ namespace Shared {
|
||||
float numUsedToSmooth = 0.f;
|
||||
for (int k = -1; k <= 1; ++k) {
|
||||
for (int l = -1; l <= 1; ++l) {
|
||||
int tmpHeight = oldHeights[(j + k) * w + (i + l)];
|
||||
int tmpHeight = (int) oldHeights[(j + k) * w + (i + l)];
|
||||
if (limitHeight && tmpHeight > 20) {
|
||||
tmpHeight = 20;
|
||||
}
|
||||
|
Reference in New Issue
Block a user